package cn.mxb.logic.service;

import java.util.List;

import cn.mxb.floor.pagination.Result;
import cn.mxb.logic.entity.SysUser;

public interface ISysUserService {
	
	/**
	 *  根据property的value查询 
	 * @param property
	 * @param value
	 * @return SysUser
	 */
	public SysUser findByProperty(String property,String value);
	/**
	 * @return_type: Result<SysUser>
	 * @file_name: 分页查询
	 */
	public Result<SysUser> find(SysUser sysUser,int page, int row);
	
	/**
	 * @return_type: SysUser
	 * @file_name: 添加
	 */
	public SysUser add(SysUser sysUser);
	
	/**
	 * 删除
	 * @return_type: void
	 */
	public void delete(int id);
	
	/**
	 * 修改
	 * @return_type: void
	 */
	public void update(SysUser sysUser);
	
    
    /**
     * 根据property的value查询 
     * @return_type: List<SysUser>
     */
    public List<SysUser> findListByProperty(String property,String value);
    
    /**
     * 全部查询
     * @return_type: List<SysUser>
     */
    public List<SysUser> findAllList();
    
}
